/*
*	Copyright (C) 2014  Julio Montes, Mario Carrillo
*	
*	Julio Montes e-mail: imc.coder@gmail.com 
*
*	Mario Carrillo e-mail: mario_90ago@live.com.mx
*
*	BSD 3-Clause License
*/

#ifndef SDK_PLUGIN_H
#define SDK_PLUGIN_H

#include <wx/wx.h>

#define IMPLEMENT_PLUGIN(newclass) extern "C" sdk::Plugin *CreatePlugin(){ return new newclass(); };

namespace sdk
{
    class Plugin : public wxEvtHandler
    {
    public:
        virtual bool OnInit()=0;
        virtual bool OnClose()=0;
    protected:
    private:
    };
}

typedef sdk::Plugin* ( *CreatePluginFunction)();

#endif // SDK_PLUGIN_H
